class API {
  // ==================== 头像管理 ====================
  /// 获取头像列表
  static const getAvatar = '/api/avatar';

  // ==================== 横幅管理 ====================
  /// 获取横幅列表
  static const getBanner = '/api/banner';

  /// 创建横幅
  static const postBanner = '/api/banner';

  /// 获取活跃横幅列表
  static const getBannerActive = '/api/banner/active';

  /// 获取横幅详情
  static const getBannerDetail = '/api/banner/';

  /// 更新横幅
  static const putBanner = '/api/banner/';

  /// 删除横幅
  static const deleteBanner = '/api/banner/';

  // ==================== 游戏管理 ====================
  /// 启动三方游戏
  static const postStartThirdGame = '/api/third-game/launch';

  /// 启动
  static const getStartBetsGame = '/api/battle-royale/launch';


  // /api/battle-royale/launch
  // /api/third-game/launch

  /// 获取游戏列表
  static const getGame = '/api/game';

  /// 创建游戏
  static const postGame = '/api/game';

  /// 获取活跃游戏列表
  static const getGameActive = '/api/game/active';

  /// 获取热门游戏列表
  static const getGameHot = '/api/game/hot';

  /// 获取游戏详情
  static const getGameDetail = '/api/game/';

  /// 更新游戏
  static const putGame = '/api/game/';

  /// 删除游戏
  static const deleteGame = '/api/game/';

  // ==================== 游戏轮次管理 ====================
  /// 获取游戏轮次列表
  static const getGameRound = '/api/game-round';

  /// 创建游戏轮次
  static const postGameRound = '/api/game-round';

  /// 根据游戏ID获取轮次列表
  static const getGameRoundByGameId = '/api/game-round/game/';

  /// 根据游戏ID和轮次获取轮次详情
  static const getGameRoundByGameIdAndRound = '/api/game-round/game//round/';

  /// 获取游戏最新轮次
  static const getGameRoundLatest = '/api/game-round/latest';

  /// 获取我的游戏轮次列表
  static const getGameRoundMine = '/api/game-round/mine';

  /// 获取游戏轮次详情
  static const getGameRoundDetail = '/api/game-round/';

  /// 更新游戏轮次
  static const putGameRound = '/api/game-round/';

  /// 删除游戏轮次
  static const deleteGameRound = '/api/game-round/';

  /// 更新游戏轮次结果
  static const putGameRoundResult = '/api/game-round//result';

  // ==================== 游戏参与管理 ====================
  /// 获取三方游戏
  static const getThirdGameLog = '/api/third-game-log';

  /// 大逃杀下注记录
  static const getBattleRoyaleLog = '/api/battle-royale-log';

  /// 获取三方游戏列表
  static const getThirdGameList = '/api/third-game';

  /// 获取游戏参与列表
  static const getGameRoundJoin = '/api/game-round-join';

  /// 参与游戏轮次
  static const postGameRoundJoin = '/api/game-round-join';

  /// 获取我的游戏参与记录
  static const getGameRoundJoinMine = '/api/game-round-join/mine';

  /// 根据轮次ID获取参与记录
  static const getGameRoundJoinByRoundId = '/api/game-round-join/round/';

  /// 获取用户在特定轮次的参与记录
  static const getGameRoundJoinByRoundIdAndUserId =
      '/api/game-round-join/round/user/';

  /// 根据用户ID获取参与记录
  static const getGameRoundJoinByUserId = '/api/game-round-join/user/';

  /// 获取游戏参与详情
  static const getGameRoundJoinDetail = '/api/game-round-join/';

  /// 更新游戏参与记录
  static const putGameRoundJoin = '/api/game-round-join/';

  /// 删除游戏参与记录
  static const deleteGameRoundJoin = '/api/game-round-join/';

  /// 结算游戏参与记录
  static const postGameRoundJoinSettle = '/api/game-round-join//settle';

  // ==================== Home ====================
  /// 获取奖池
  static const getHomePrizePool = '/api/home/prize-pool';

  /// 获取奖励次数
  static const getHomeRewardTimes = '/api/home/reward-times';

  // ==================== 公告管理 ====================
  /// 获取公告列表
  static const getNotice = '/api/notice';

  /// 创建公告
  static const postNotice = '/api/notice';

  /// 获取活跃公告列表
  static const getNoticeActive = '/api/notice/active';

  /// 禁止查看公告
  static const postNoticeForbidden = '/api/notice/forbidden';

  /// 获取公告详情
  static const getNoticeDetail = '/api/notice/';

  /// 更新公告
  static const putNotice = '/api/notice/';

  /// 删除公告
  static const deleteNotice = '/api/notice/';

  // ==================== 安全问题管理 ====================
  /// 获取问题列表
  static const getQuestion = '/api/question';

  /// 创建问题
  static const postQuestion = '/api/question';

  /// 获取问题详情
  static const getQuestionDetail = '/api/question/';

  /// 更新问题
  static const putQuestion = '/api/question/';

  /// 删除问题
  static const deleteQuestion = '/api/question/';

  // ==================== 返利比例设置管理 ====================
  /// 获取返利比例设置列表
  static const getRebateRateSetting = '/api/rebate-rate-setting';

  /// 创建返利比例设置
  static const postRebateRateSetting = '/api/rebate-rate-setting';

  /// 获取返利比例设置详情
  static const getRebateRateSettingDetail = '/api/rebate-rate-setting/';

  /// 更新返利比例设置
  static const putRebateRateSetting = '/api/rebate-rate-setting/';

  /// 删除返利比例设置
  static const deleteRebateRateSetting = '/api/rebate-rate-setting/';

  // ==================== 充值管理 ====================
  /// 获取充值列表
  static const getRecharge = '/api/recharge';

  // ==================== 佣金 ====================
  /// 获取佣金列表
  static const getRebateRecord = '/api/user/rebate-record';

  // api/user/rebate-record

  // ==================== 系统设置 ====================
  /// 获取所有设置
  static const getSetting = '/api/setting';

  /// 创建设置
  static const postSetting = '/api/setting';

  /// 获取提现配置
  static const getSettingWithdrawConfig = '/api/setting/withdraw';

  /// 获取设置
  static const getSettingByKey = '/api/setting/';

  /// 更新设置
  static const putSetting = '/api/setting/';

  /// 删除设置
  static const deleteSetting = '/api/setting/';

  // ==================== 标签管理 ====================
  /// 获取标签列表
  static const getTag = '/api/tag';

  /// 创建标签
  static const postTag = '/api/tag';

  /// 获取活跃标签列表
  static const getTagActive = '/api/tag/active';

  /// 获取标签详情
  static const getTagDetail = '/api/tag/';

  /// 更新标签
  static const putTag = '/api/tag/';

  /// 删除标签
  static const deleteTag = '/api/tag/';

  // ==================== 钱包日志管理 ====================
  /// 获取钱包日志列表
  static const getUserWalletLog = '/api/user-wallet-log';

  /// 创建钱包日志
  static const postUserWalletLog = '/api/user-wallet-log';

  /// 获取我的钱包日志
  static const getUserWalletLogMine = '/api/user-wallet-log/mine';

  /// 获取团队钱包日志
  static const getUserWalletLogTeam = '/api/user-wallet-log/team';

  /// 根据用户ID获取钱包日志
  static const getUserWalletLogByUserId = '/api/user-wallet-log/user/';

  /// 根据钱包ID获取钱包日志
  static const getUserWalletLogByWalletId = '/api/user-wallet-log/wallet/';

  /// 获取钱包日志详情
  static const getUserWalletLogDetail = '/api/user-wallet-log/';

  /// 更新钱包日志
  static const putUserWalletLog = '/api/user-wallet-log/';

  /// 删除钱包日志
  static const deleteUserWalletLog = '/api/user-wallet-log/';

  // ==================== 用户管理 ====================
  /// 绑定TRC20钱包地址
  static const postUserBindTrc20Address = '/api/user/bind-trc20-address';

  /// 修改资金密码
  static const postUserChangeFundPassword = '/api/user/change-fund-password';

  /// 修改密码
  static const postUserChangePassword = '/api/user/change-password';

  /// 修改下级用户返点率
  static const postUserChangeRebateRate = '/api/user/change-rebate-rate';

  /// 修改安全问题
  static const postUserChangeSecurityQuestion =
      '/api/user/change-security-question';

  /// 修改TRC20钱包地址
  static const postUserChangeTrc20Address = '/api/user/change-trc20-address';

  /// 删除TRC20钱包地址
  static const postUserDeleteTrc20Address = '/api/user/delete-trc20-address';

  /// 找回资金密码
  static const postUserFindFundPassword = '/api/user/find-fund-password';

  /// 找回密码
  static const postUserFindPassword = '/api/user/find-password';

  /// 用户登录
  static const postUserLogin = '/api/user/login';

  /// 获取用户信息
  static const getUserProfile = '/api/user/profile';

  /// 更新用户信息
  static const putUserProfile = '/api/user/profile';

  /// 用户注册
  static const postUserRegister = '/api/user/register';

  /// 获取安全问题
  static const getUserSecurityQuestion = '/api/user/security-question';

  /// 安全验证
  static const postUserSecurityVerify = '/api/user/security-verify';

  /// 设置资金密码
  static const postUserSetFundPassword = '/api/user/set-fund-password';

  /// 获取团队成员
  static const getUserTeamMember = '/api/user/team-member';

  /// 获取团队成员统计信息
  static const getUserTeamMemberStatistics = '/api/user/team-member-statistics';

  /// 获取团队统计信息
  static const getUserTeamStatistics = '/api/user/team-statistics';

  /// 获取游戏统计信息
  static const getGameTeamStatistics = '/api/third-game/team-statistics';

  /// 获取游戏成员统计信息
  static const getGameTeamMemberStatistics =
      '/api/third-game/team-member-statistics';

  ///大逃杀游戏列表
  static const getBattleRoyaleList = '/api/battle-royale';

  /// 获取大逃杀团队统计信息
  static const getGameBattleTeamStatistics =
      '/api/battle-royale/team-statistics';

  /// 获取大逃杀成员统计信息
  static const getGameBattleTeamMemberStatistics =
      '/api/battle-royale/team-member-statistics';

  /// 获取团队结算信息
  static const getGameTeamRoundJoin = '/api/game-round-join/union';

  //
  // ==================== 钱包管理 ====================
  /// 获取我的所有钱包
  static const getWallet = '/api/wallet';

  /// 创建用户钱包
  static const postWallet = '/api/wallet';

  /// 获取活跃钱包列表
  static const getWalletActive = '/api/wallet/active';

  /// 获取钱包列表
  static const getWalletList = '/api/wallet/list';

  /// 获取我的钱包
  static const getWalletMy = '/api/wallet/my';

  /// 佣金转余额
  static const postWalletRebateToBalance = '/api/wallet/rebate-to-balance';

  /// 钱包充值
  static const postWalletRecharge = '/api/wallet/recharge';

  /// 根据用户ID获取钱包
  static const getWalletByUserId = '/api/wallet/user/';

  /// 获取用户所有钱包
  static const getWalletAllByUserId = '/api/wallet/user//all';

  /// 钱包提现
  static const postWalletWithdraw = '/api/wallet/withdraw';

  /// 获取钱包详情
  static const getWalletDetail = '/api/wallet/';

  /// 更新钱包信息
  static const putWallet = '/api/wallet/';

  /// 删除钱包
  static const deleteWallet = '/api/wallet/';

  // ==================== 提现管理 ====================
  /// 获取提现列表
  static const getWithdraw = '/api/withdraw';

  /// 更新提现状态
  static const putWithdraw = '/api/withdraw';

  /// 创建提现申请
  static const postWithdraw = '/api/withdraw';

  /// 获取提现列表(管理员)
  static const getWithdrawAdmin = '/api/withdraw/admin';

  // ==================== WebSocket ====================
  /// 处理基于 melody 的 websocket 连接
  static const getWsMelody = '/api/ws-melody/';

  /// 处理WebSocket连接
  static const getWs = '/api/ws/';

  /// app配置
  static const getAppConfigs = '/api/third-game/domains';

  /// 获取包
  static const getAppPackage = '/api/package';

  /// 获取快捷设置
  static const getQuickBetSetting = '/api/quick-bet-setting';

  /// 设置快捷设置
  static const postQuickBetSetting = '/api/quick-bet-setting';

  /// 删除快捷设置
  static const delQuickBetSetting = '/api/quick-bet-setting';
// /api/quick-bet-setting
}
